package demo05;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/9 20:23
 */

public class Test {
    public static void main(String[] args) {
        WqlPublic wqlPublic = new WqlPublic();
        Wql wql = new Wql("张四");
        Wql wql1 = new Wql("李三");
        Wql wql2 = new Wql("王子");
        Wql wql3 = new Wql("麻二");

        KunKun kun = new KunKun("只因");
        wqlPublic.attention(wql);
        wqlPublic.attention(wql1);
        wqlPublic.attention(wql2);
        wqlPublic.attention(wql3);
        wqlPublic.attention(kun);

        wqlPublic.setMessage("=你好");

        wqlPublic.MassMsg();

        wqlPublic.NoAttention(wql2);
        System.out.println("==================");
        wqlPublic.MassMsg();
    }
}
